package com.gkj.blog.business.vo.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gkj.blog.framework.object.BaseEntityVo;
import com.gkj.blog.persistence.po.Type;

import java.util.Date;

public class TypeVo  extends BaseEntityVo {
    private Type type;

    public TypeVo() {
        type=new Type();
        setAbstractDO(type);
    }

    public TypeVo(Type type) {

        this.type = type;
        setAbstractDO(type);
    }

    public String getName() {
        return type.getName();
    }

    public void setName(String name) {
        type.setName(name);
    }

    public String getDescription() {
        return type.getDescription();
    }

    public void setDescription(String description) {
        type.setDescription(description);
    }

    public Integer getSort() {
        return type.getSort();
    }

    public void setSort(Integer sort) {
        type.setSort(sort);
    }

    public String getIcon() {
        return type.getIcon();
    }

    public void setIcon(String icon) {
        type.setIcon(icon);
    }

    public Boolean getAvailable() {
        return type.getAvailable();
    }

    public void setAvailable(Boolean available) {
        type.setAvailable(available);
    }

}
